import { ChatPageClient } from './ChatPageClient';

type Props = {
  params: Promise<{ slug: string }>;
  searchParams: Promise<{ [key: string]: string | string[] | undefined }>;
};

export default async function ChatPage(props: Props) {
  const params = await props.params;
  return <ChatPageClient sessionId={params.slug} />;
}
